package com.syc.service.impl;

;
import com.syc.dao.inter.UserDao;
import com.syc.dao.inter.enitiy.User;
import com.syc.service.inter.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("userService")
public class UserServiceImpl implements UserService {

    @Resource
    private UserDao userDao;

    public User selectUser(long userId) {
        User user = userDao.selectUser(userId);
        return user;
    }

}
